import { createContext } from 'react';
interface Todolist {
  id: number;
  text: string;
  done: false;
}
const defaultValue: Todolist[] = [];
const TodolistContext = createContext(defaultValue);
export default TodolistContext;
